package com.shenghui.enterprise.base.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shenghui.enterprise.base.entity.Page;
import com.shenghui.enterprise.base.entity.BaseRoleUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
/**
 * @Description: 角色用户关系表-role_user- Mapper 接口
 * @Author houjh
 * @Email: happyxiaohou@gmail.com
 * @Date: 2020-06-01
 * @Copyright (c) 2020-2022 云南昇晖科技有限公司
 */
@Mapper
public interface BaseRoleUserMapper extends BaseMapper<BaseRoleUser> {

    /**
     * 查询用户角色列表
     * @param mapPage
     * @param map
     * @return
     */
    List<Map> getRoleUserListByUserId(Page<Map> mapPage, @Param("map") Map map);

}
